Release 10.1A: OpenEdge Development:
Progress 4GL Reference


RETURN-INSERTED attribute

How an editor widget behaves when a RETURN event occurs.

Data type: LOGICAL

Access: Readable/Writeable

Applies to: EDITOR widget

If the RETURN-INSERTED attribute is TRUE, a RETURN event inserts a hard return at the cursor position, breaking the current line. Otherwise, if the editor is in a dialog box with a default button, a RETURN event chooses the default button for the dialog box. If the editor is not in a dialog box with a default button, a RETURN event inserts a hard return for any value of RETURN-INSERTED. The default value is FALSE.

You can set this attribute only before the editor widget is realized.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095